Skip to main content

before

Type

keyword

Summary

Used with the put command to place a value at the start of a container or chunk.

Syntax

before

Description

Use the before keyword to position the insertion point at a selected location in a field, or to add text at a specific location in a container.

You can specify either a container, or a chunk within a container. If you don't specify a chunk, the before keyword specifies the start of the container.

When you use the before keyword, the current contents of the container or chunk is not affected. The text is added to the container or chunk, instead of replacing it.

Examples

put return before myVariable
put thisValue before line 17 of field "Results"

keyword: after, field

property: selected

command: put

function: value

glossary: keyword, insertion point, command, container, chunk

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?